<%@ page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.thesis-resources"/>
<div id="mainBody">
    <!-- InstanceBeginEditable name="main" -->
  	<div class="title">Thesis</div>
    <div id="search">
        <div id="searchBox">
        	<form method="post" action="search.html">
            <textarea id="searchTerm" name="searchTerm" rows="1"></textarea><button id="goButton">GO</button><button id="advancedSearch">AS</button>
            </form>
        </div>
    </div>
  	<div id="body">
    	<div id="table">
        	<div class="header">
                <div>ID</div>
                <div>Title</div>
                <div>Description</div>
                <div>Student</div>
                <div>Start Date</div>
            </div>
            <c:forEach items="${thesiss}" var="thesis">
            <div class="row">
            	<div><a href="view.html?id=${ thesis.thesisId}">${ thesis.thesisId}</a></div>
                <div>${thesis.title }</div>
                <div>${thesis.abstract_ }</div>
                <div>${thesis.student.lastName }, ${thesis.student.firstName }</div>
                <div>${thesis.startDate.time }</div> 
            </div>
            </c:forEach>
        </div>
        
	</div>
  </div>